﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Store.Models
{
    public class ShippingAddress : BaseEnity
    {
        #region 导航属性 关连用户表
        public Guid UserId { get; set; }
        public User Users { get; set; }
        #endregion


        /// <summary>
        /// 详细地址
        /// </summary>
        [StringLength(500)]
        public string Address { get; set; }

        /// <summary>
        /// 是否为默认地址
        /// </summary>

        public bool IsDefault { get; set; } = false;
    }
}
